<%- include('../../common/header.html',{css:'common'}) %>

<script id="actual-price-template" type="text/x-handlebars-template">
        <form class='form-horizontal form-update-actual-price'>
            <div class="form-group">
                <div class="col-sm-12"><div class="alert alert-danger" style="font-size: 12px;">请慎重填写!</div></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">订单价格：</label>
                <div class="col-sm-4">
                    <input type="number" data-rule-required="true" name="actualPrice" class="form-control hp-refuse">
                </div>
                <div class="col-sm-5 error-container"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label"></label>
                <div class="col-sm-4">
                    <button type="submit"
                            data-loading-text="处理中..."
                            class="btn btn-primary btn-update-actual-price">提交
                    </button>
                </div>
                <div class="col-sm-5 error-container"></div>
            </div>
        </form>

    </script>
    <script id="lading-bill-template" type="text/x-handlebars-template">
        <form class='form-horizontal create-lading-bill'>
            <div class="form-group">
                <label class="col-sm-3 control-label">提单类型</label>
                <div class="col-sm-6">
                    <label class="radio-inline">
                        <input type="radio" name="type" checked value="0"> 车号
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="type" value="1"> 介绍信
                    </label>
                    <label class="radio-inline">
                        <input type="radio" name="type" value="2"> 转货权
                    </label>
                </div>
                <div class="col-sm-3 error-container"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">车号/收货公司</label>
                <div class="col-sm-6">
                    <input class="form-control" placeholder="车号/收货公司" name="carId">
                </div>
                <div class="col-sm-3 error-container"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">司机姓名</label>
                <div class="col-sm-6">
                    <input class="form-control" placeholder="司机姓名" name="driver">
                </div>
                <div class="col-sm-3 error-container"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">司机电话</label>
                <div class="col-sm-6">
                    <input class="form-control" placeholder="司机电话" name="driverPhone">
                </div>
                <div class="col-sm-3 error-container"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">本次发货数量</label>
                <div class="col-sm-6">
                    <input class="form-control" placeholder="本次发货数量" data-rule-required='true' name="numberThisTime">
                </div>
                <div class="col-sm-3 error-container"></div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">提单有效期</label>
                <div class="col-sm-6">
                    <input class="form-control" data-rule-required='true' data-toggle="datepicker" placeholder="提单有效期"
                           data-rule-required='true' name="expireTime">
                </div>
                <div class="col-sm-3 error-container"></div>
            </div>

            <div class="form-group">
                <div class="col-sm-offset-3 col-sm-9">
                    <button type="submit" data-loading-text="提交中..." class="btn btn-danger btn-create-lading-bill">提交
                    </button>
                </div>
            </div>
        </form>

    </script>
    <title>用户管理-后台管理系统</title>
</head>
<body class="sub-body">
<%- include('../../common/nav.html') %>
<section class="content-header">
    <h1>
        佣金结算
        <small></small>
    </h1>
    <ol class="breadcrumb">
        <li><a href="../../main.html"><i class="fa fa-home"></i> 首页</a></li>
        <li><a href="javascript:void(0)">仓库管理</a></li>
        <li class="active">结算中心</li>
    </ol>
</section>
<div class="content">
    <div class="panel panel-default">
        <div class="panel-heading">
            <ul class="nav nav-tabs nav-primary">
                <li role="presentation"  ><a href="./index.html">订单报表</a></li>
                <li role="presentation"  class="active"><a href="javascript:void(0);">佣金报表</a></li>
            </ul>
        </div>
        <div class="panel-body">
            <div class="table-responsive" style="margin-top: 12px;">
                <div class="com-loading">
                    <img src="/admin/imgs/loading/loading.gif" alt="">
                </div>
                <table class="table table-bordered table-hover">
                    <thead>
                    <tr>
                        <th>#</th>
                        <th>销售昵称</th>
                        <th>历史累计佣金<i data-sort="cash_total" class="pull-right fa fa-sort"></i></th>
                        <th>已提现佣金<i data-sort="cash_received_total" class="pull-right fa fa-sort"></i></th>
                        <th>可提现佣金<i data-sort="cash_can_with_draw_total" class="pull-right fa fa-sort"></i></th>
                        <th>提现中佣金<i data-sort="cash_with_drawing_total" class="pull-right fa fa-sort"></i></th>
                        <th>未到账佣金<i data-sort="cash_will_receive_total" class="pull-right fa fa-sort"></i></th>
                    </tr>
                    </thead>
                    <tbody>
                    </tbody>
                </table>

            </div><div class="su-pager text-right">
        </div>
        </div>
    </div>
</div>
</body>
<%- include('../../common/script-handlebars.html') %>
<%- include('../../common/script-common.html') %>
<!-- build:js ../../scripts/store/report/commission.js  -->
<script type="text/javascript" src="./commission.js"></script>
<!-- endbuild -->


</html>